/**
* Common Funtions
*/
EF.Trailblazers.Activity.Common = EF.Trailblazers.Activity.Common || {};

EF.Trailblazers.Activity.Common.loadTemplate = function (elem, URL, data, include, setting, param) {
    elem.setTemplateURL(URL, include, setting);
    elem.setParam(param['name'], param['value']);
    elem.processTemplate(data);
};

(function ($) {
    $.fn.disableSelection = function () {
        return this
                 .attr('unselectable', 'on')
                 .css('user-select', 'none')
                 .on('selectstart', false);
    };
})(jQuery);